Computes the density, cumulative probability, quantiles, and random draws for the zero-inflated COM-Poisson distribution.
dzicmp(x, lambda, nu, p, log = FALSE, control = NULL)rzicmp(n, lambda, nu, p, control = NULL)
pzicmp(x, lambda, nu, p, control = NULL)
qzicmp(q, lambda, nu, p, log.p = FALSE, control = NULL)
ezicmp(lambda, nu, p, control = NULL)
vzicmp(lambda, nu, p, control = NULL)
density,
cumulative probability,
quantiles,
generate random variates,
expected value. and
variance.
vector of quantiles.
rate parameter.
dispersion parameter.
zero-inflation probability parameter.
logical; if TRUE, probabilities are returned on log-scale.
a COMPoissonReg.control
object from get.control
or NULL
to use global default.
number of observations.
vector of probabilities.
logical; if TRUE, probabilities p are given as \(\log(p)\).
Kimberly Sellers, Andrew Raim
Kimberly F. Sellers and Andrew M. Raim (2016). A Flexible Zero-Inflated Model to Address Data Dispersion. Computational Statistics and Data Analysis, 99, 68-80.